import React,{createRef} from 'react';

const Header = () => {
    let node = createRef()
    return (
        <form onSubmit={(e)=>{
            e.preventDefault();
            }}>
        <input type="text"  ref={node} />
        <button type="submit">提交</button>
        </form>
    );
}

export default Header;
